package com.liang.leetcode.binarytree.entity;

import java.util.List;

/**
 * N叉树节点定义
 */
public class TreeNodeN {
    public int val;
    public List<TreeNodeN> children;

    public TreeNodeN() {
    }

    public TreeNodeN(int val) {
        this.val = val;
    }

    public TreeNodeN(int val, List<TreeNodeN> children) {
        this.val = val;
        this.children = children;
    }
}
